<?php
session_start();
$_SESSION['test'] = "test";
setcookie ('PHPSESSID', 'test');
print_r($_SESSION);
if (isset($_SESSION['count'])){
	$count = $_SESSION['count'];
	$_SESSION['count'] ++;
}
else {
	$count = 0;
	$_SESSION['count'] = 0;
}

echo "This has been viewed " . $_SESSION['count'] . "times";